package com.tianhui.consignortwofei.mvp.contract;

import com.fgs.common.CommonPresenter;
import com.fgs.common.CommonView;
import com.tianhui.consignortwofei.mvp.model.enty.DictionaryInfo;
import com.tianhui.consignortwofei.mvp.model.enty.evaluation.EvaluationInfo;

import java.util.List;
import java.util.Map;

/**
 * @author fgs
 * @date 2020/5/6
 * @description
 **/
public interface EvaluationContract {
    interface View extends CommonView {

        void activityFinish();

        void showEvaluationType(int type, List<DictionaryInfo> list);

        void showEvaluationSuccessDialog();
    }

    abstract class Presenter extends CommonPresenter<View> {
        public abstract void requestEvaluationType(Map<String, String> map, int type, boolean isDialog);

        public abstract void requestEvaluationCommit(EvaluationInfo info, boolean isDialog);

    }
}
